-
Home
-
Content Control – The Ultimate Content Restriction Plugin! Restrict Content, Create Conditional Blocks & More
-
2.0.12
-
Code
-
Classes
- Restriction
Total Complexity |
28 |
Dependencies |
2 |
Dependents |
6 |
Total lines |
494 |
Lines of code |
175 |
Logical lines of code |
71 |
Comment lines |
224 |
Methods |
13 |
Properties |
28 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
46 |
5 |
40 |
setup_v1_restriction() |
S |
45 |
4 |
42 |
get_message() |
S |
59 |
5 |
14 |
get_description() |
S |
65 |
3 |
9 |
to_array() |
S |
50 |
1 |
28 |
check_rules() |
S |
72 |
2 |
6 |
get_edit_link() |
S |
70 |
2 |
6 |
to_v1_array() |
S |
59 |
1 |
15 |
has_js_rules() |
S |
81 |
1 |
3 |
user_meets_requirements() |
S |
78 |
1 |
3 |
show_excerpts() |
S |
81 |
1 |
3 |
uses_redirect_method() |
S |
80 |
1 |
3 |
uses_replace_method() |
S |
80 |
1 |
3 |